<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $title_for_layout; ?></title>
<?php echo $html->css('school-admin'); ?>
<?php echo $html->css('message'); ?>
<?php echo $html->script('jquery-1.4.2.min'); ?>

<!-- import calendar component -->
<?php echo $html->script('../calendar/calendar.js'); ?>
<?php echo $html->script('../calendar/calendar-en.js'); ?>
<?php echo $html->script('../calendar/schoolbeacon.calendar.js'); ?>
<?php echo $html->css('../calendar/css/calendar-blue.css'); ?>


<script type="text/javascript" language="javascript">
	var currentMenu = '<?php echo $this->params['controller']?>';

	jQuery(document).ready(function () {
		jQuery("#menu > a[href*="+currentMenu+"]").addClass("currentSelected");
		applyStyleForTable();
	});

	function applyStyleForTable() {
		jQuery("#container > table tr:even").addClass("evenRow");
	}

</script>
</head>
<body>
	<div id="main" class="clearfix">
		<div id="top">
			<div id="logo"><?php echo $html->image('logoList.jpg', array('alt' => 'BeaconSchools'));?></div>
			<div id="controlpanel">Aurora Public Schools</div>
			<?php echo $html->image('logoright.jpg', array('alt' => 'BeaconSchools','style'=>'float:right; margin-top:4px; margin-right:2px;'));?>
		</div>
		<div id="menu">
			<?php echo $html->link('Messages', array('controller'=>'messages','action'=>'index'));?>
			<?php echo $html->link('Groups', array('controller'=>'groups','action'=>'index'));?>
			<?php echo $html->link('Subscribers', array('controller'=>'subscribersSchool','action'=>'index'));?>
			<?php echo $html->link('Reports', array('controller'=>'reportForSchools','action'=>'index'));?>
			<a href="">Support</a>
			<?php echo $html->link('Logout', array('controller'=>'users','action'=>'logout')); ?>
		</div>
		<div id="container" class="clearfix">
			<?php echo $content_for_layout; ?>
		</div>
		<div id="footer"></div>
	</div>
</body>
</html>
